package com.hzhr.iot.core.util;

public class HzhrMysqlUtil {
    /**
     * page转换为start
     * @param page
     * @param count
     * @return
     */
    public static Integer page2start(Integer page, Integer count) {
        if (page == null || count == null) return null;
        Integer start = (page - 1) * count;
        return start;
    }
}
